package io.demo.observerp;

/**
 * @author create by zhangpengfei at 2021/9/29 17:28
 */

public class Main {
    public static void main(String [] args){
        WeatherData weatherData = new WeatherData();
        new CurrentConditionsDisplay(weatherData);

        weatherData.setMeasurements(80, 65, 30.4f);
        weatherData.setMeasurements(82, 70, 29.2f);
        weatherData.setMeasurements(78, 90, 29.2f);

    }
}
